import request from '../utils/request'

export function getNewsAll() {
    return request({
        url: '/api/news/getAll',
        method: 'get',
        data: null
    })
}

export function getNewsDetail(params:any) {
    return request({
        url: '/api/news/getDetail',
        method: 'get',
        params: params
    })
}